package com.jzr.bedside.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 过敏类型表
 * </p>
 *
 * @author henry
 * @since 2019-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TAllergy对象", description="过敏类型表")
public class TAllergy implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_allergy";
    public static final String Id_ = "id";
    public static final String DeptCode_ = "dept_code";
    public static final String PatientCode_ = "patient_code";
    public static final String Code_ = "code";
    public static final String Content_ = "content";
    public static final String Level_ = "level";
    public static final String Attentions_ = "attentions";
    public static final String Status_ = "status";
    public static final String Remark_ = "remark";
    public static final String UpdateTime_ = "update_time";
    public static final String UpdateBy_ = "update_by";
    public static final String IsDel_ = "is_del";


    @ApiModelProperty(value = "过敏类型id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "科室编号")
    @TableField("dept_code")
    private String deptCode;

    @ApiModelProperty(value = "病人编号")
    @TableField("patient_code")
    private String patientCode;

    @ApiModelProperty(value = "过敏编号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "过敏内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "过敏级别")
    @TableField("level")
    private String level;

    @ApiModelProperty(value = "注意事项")
    @TableField("attentions")
    private String attentions;

    @ApiModelProperty(value = "状态1=有效，0=无效")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "删除标记")
    @TableField("is_del")
    private Boolean isDel;


}
